<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/commons/taglibs.jsp"%>
<%@ include file="/static/commons/meta.jsp"%>
<%@ include file="/static/commons/ecside.jsp"%>
<%@ include file="/static/commons/jquery-easyui.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>${title}</title>
		<!--js库-->
		<script type="text/javascript">
			function init(){
			}
			function changeStyle(obj){
			  	ec_showContent(obj,"700px");
			}
		</script>
	</head>
	<body>
		<ec:table items="list" var="v" title="" width="100%"
			retrieveRowsCallback="process" filterRowsCallback="process"
			maxRowsExported="1000" pageSizeList="all" useAjax="false"
			sortable="false" filterable="false"
			resizeColWidth="true" classic="true" minHeight="200"
			excludeParameters="checkAll,ID_,id"
			toolbarContent="extend "
			action="">
			<ec:row style="text-align:center;">
				<ec:column property="user_id" title="序号 " style="width:30px">${GLOBALROWCOUNT}</ec:column>
				<ec:column property="parts_code" title="配件编号" >${v.parts_code}</ec:column>
				<ec:column property="parts_name" title="配件名称">${v.parts_name}</ec:column>
				<ec:column property="parts_spec" title="规格/型号">${v.parts_spec}</ec:column>
				<ec:column property="parts_num" title="数量">${v.parts_num}</ec:column>
				<ec:column property="status" title="使用状态">
					<c:if test="${v.parts_status eq 0}"><span style="color:green;">空闲</span></c:if>
					<c:if test="${v.parts_status eq 1}"><span style="color:red;">预占用</span></c:if>
					<c:if test="${v.parts_status eq 2}"><span style="color:gray;">已出库</span></c:if>
				</ec:column>
			</ec:row>
		</ec:table>
	
	</body>
</html>